package com.shopping.pojo;

import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class Order {
//	private int o_id;
//	private String name;
//	private BigDecimal total_money;
//	private BigDecimal payable_money;
//	private int status;
//	private int pay_status;
//	private int delivery_status;
//	private String pay_method;
//	private String delivery;
//	private Date time;
	
	
	private long o_id;
	private String o_name;
	private String o_phone;
	private String o_content;
	private Double o_money;
	private int o_status;
	private int o_pay_method;
	@JSONField (format="yyyy-MM-dd HH:mm:ss") 
	private Date o_time;
	private String o_description;
	public long getO_id() {
		return o_id;
	}
	public void setO_id(long o_id) {
		this.o_id = o_id;
	}
	public String getO_name() {
		return o_name;
	}
	public void setO_name(String o_name) {
		this.o_name = o_name;
	}
	public String getO_phone() {
		return o_phone;
	}
	public void setO_phone(String o_phone) {
		this.o_phone = o_phone;
	}
	public String getO_content() {
		return o_content;
	}
	public void setO_content(String o_content) {
		this.o_content = o_content;
	}
	public Double getO_money() {
		return o_money;
	}
	public void setO_money(Double o_money) {
		this.o_money = o_money;
	}
	public int getO_status() {
		return o_status;
	}
	public void setO_status(int o_status) {
		this.o_status = o_status;
	}
	public int getO_pay_method() {
		return o_pay_method;
	}
	public void setO_pay_method(int o_pay_method) {
		this.o_pay_method = o_pay_method;
	}
	public Date getO_time() {
		return o_time;
	}
	public void setO_time(Date o_time) {
		this.o_time = o_time;
	}
	public String getO_description() {
		return o_description;
	}
	public void setO_description(String o_description) {
		this.o_description = o_description;
	}
	public Order() {
		// TODO 自动生成的构造函数存根
	}
	public Order(String o_name, String o_phone, String o_content, Double o_money, 
			int o_status, int o_pay_method, Date o_time, String o_description) {
		super();
		this.o_name = o_name;
		this.o_phone = o_phone;
		this.o_content = o_content;
		this.o_money = o_money;
		this.o_status = o_status;
		this.o_pay_method = o_pay_method;
		this.o_time = o_time;
		this.o_description = o_description;
	}
	@Override
	public String toString() {
		return "Order [o_id=" + o_id + ", o_name=" + o_name + ", o_phone=" + o_phone + ", o_content=" + o_content
				+ ", o_money=" + o_money + ", o_status=" + o_status + ", o_pay_method=" + o_pay_method + ", o_time="
				+ o_time + ", o_description=" + o_description + "]";
	}
	
	
	
}
